/**
 * 
 */
package org.insia.smartposse.metier.webservice;

import java.io.Serializable;

import org.insia.smartposse.metier.FreelancePortfolio;

/**
 * @author raguerri
 * @since 18 avr. 07
 * @version 0.0.1
 * 
 */
public class LightFreelancePortfolio 
implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 5489594817161109097L;
	private long id;
	private long freelance;
	private String description;
	private String url;
	
	/**
	 * 
	 *
	 */
	public LightFreelancePortfolio() {
	}

	/**
	 * 
	 * @param portfolio
	 */
	public LightFreelancePortfolio(FreelancePortfolio portfolio) {
		id = portfolio.getId();
		freelance = portfolio.getFreelance().getId();
		description = portfolio.getDescription();
		url = portfolio.getUrl();
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	/**
	 * @return the freelance
	 */
	public long getFreelance() {
		return freelance;
	}

	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}

	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @param freelance the freelance to set
	 */
	public void setFreelance(long freelance) {
		this.freelance = freelance;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @param url the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}

}
